package com.aijk.commons.mq.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务执行结果反馈对象
 * Created by ChenDeWei on 2016/6/28.
 */
public class MqTaskEventResult implements Serializable {
    /**
     * 任务ID
     */
    private int taskId;
    private int id;
    /**
     * 调用时间
     */
    private int invokeTime;

    private Date startTime;

    private Date endTime;
    /**
     * 反馈信息
     */
    private String info;

    /**
     * 服务端IP
     */
    private String provider;

    /**
     * 执行状态
     */
    private String status;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getInvokeTime() {
        return invokeTime;
    }

    public void setInvokeTime(int invokeTime) {
        this.invokeTime = invokeTime;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "MqTaskEventResult{" +
                "taskId=" + taskId +
                ", id=" + id +
                ", invokeTime=" + invokeTime +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", info='" + info + '\'' +
                ", provider='" + provider + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
